home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / daolibb / cust2pag.cpp < prev    next >
C/C++ Source or Header  |  1998-12-31  |  1KB  |  53 lines

  1. // Cust2Page.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "DaoSample.h"
  6. #include "DaoPropPage.h"
  7. #include "DaoCheck.h"
  8. #include "DaoCombo.h"
  9. #include "Cust2Page.h"
  10.  
  11. #ifdef _DEBUG
  12. #define new DEBUG_NEW
  13. #undef THIS_FILE
  14. static char THIS_FILE[] = __FILE__;
  15. #endif
  16.  
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CCust2Page property page
  19.  
  20. IMPLEMENT_DYNCREATE(CCust2Page, CPropertyPage)
  21.  
  22. CCust2Page::CCust2Page() : CDaoPropPage(CCust2Page::IDD)
  23. {
  24.     //{{AFX_DATA_INIT(CCust2Page)
  25.         // NOTE: the ClassWizard will add member initialization here
  26.     //}}AFX_DATA_INIT
  27.     DAOCONTROL(NewCustomer);
  28.     DAOCOMBO(ModemType, "Modem");
  29. }
  30.  
  31. CCust2Page::~CCust2Page()
  32. {
  33. }
  34.  
  35. void CCust2Page::DoDataExchange(CDataExchange* pDX)
  36. {
  37.     CPropertyPage::DoDataExchange(pDX);
  38.     //{{AFX_DATA_MAP(CCust2Page)
  39.     DDX_Control(pDX, IDC_NEWCUSTOMER, m_NewCustomer);
  40.     DDX_Control(pDX, IDC_CUSTOMERMODEM, m_ModemType);
  41.     //}}AFX_DATA_MAP
  42. }
  43.  
  44.  
  45. BEGIN_MESSAGE_MAP(CCust2Page, CDaoPropPage)
  46.     //{{AFX_MSG_MAP(CCust2Page)
  47.         // NOTE: the ClassWizard will add message map macros here
  48.     //}}AFX_MSG_MAP
  49. END_MESSAGE_MAP()
  50.  
  51. /////////////////////////////////////////////////////////////////////////////
  52. // CCust2Page message handlers
  53.